
public class CalisanRaporFormu {
	private Calisan seciliCalisan;
	private ICalisanRaporu calisanRaporu;
	
	public CalisanRaporFormu(ICalisanRaporu calisanRaporu) {
		this.calisanRaporu = calisanRaporu;
	}
	public void seciliCalisanaAitRapor(){
		this.calisanRaporu.raporOlustur(seciliCalisan);
	}
	public static void main(String[] args) {
		
		CalisanRaporFormu form = new CalisanRaporFormu(new CalisanExcelRaporu());	
		form.seciliCalisanaAitRapor();
	}
}
